From 36f1643e68aff2f3901fe391fe32456dff79e465 Mon Sep 17 00:00:00 2001 From: Greg Sabino Mullane Date: Tue, 17 Apr 2007 14:23:00 +0000 Subject: [PATCH] Make ORDER BY into key plus value for Database::select call, per bug 9608 --- RELEASE-NOTES | 1 + maintenance/dumpLinks.php | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/RELEASE-NOTES b/RELEASE-NOTES index cdb49983f2..95396eab3b 100644 --- a/RELEASE-NOTES +++ b/RELEASE-NOTES @@ -321,6 +321,7 @@ it from source control: http://www.mediawiki.org/wiki/Download_from_SVN * Removed obsoletes Title::getRelatedCache and Title:touchArray * (bug 7285) Check MySQL username length during install * (bug 6910) Correct date/time formats in Vietnamese (vi) +* (bug 9608) Correctly use ORDER BY in dumpLinks.php * (bug 9609) Correctly use ORDER BY in SpecialWhatlinkshere.php == Maintenance == diff --git a/maintenance/dumpLinks.php b/maintenance/dumpLinks.php index cb883e4f4d..2caa873c9f 100644 --- a/maintenance/dumpLinks.php +++ b/maintenance/dumpLinks.php @@ -41,7 +41,7 @@ $result = $dbr->select( array( 'pagelinks', 'page' ), 'pl_title' ), array( 'page_id=pl_from' ), 'dumpLinks', - array( 'ORDER BY page_id' ) ); + array( 'ORDER BY' => 'page_id' ) ); $lastPage = null; while( $row = $dbr->fetchObject( $result ) ) { -- 2.20.1